﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZG_member.DAL;
using System.Data;

namespace ZG_member.BLL
{ 
   public partial class informationShare
    {
       ZG_member.DAL.informationShare dal = new DAL.informationShare();
        /// <summary>
        /// 增加一条数据
        /// </summary>
        public int Add(ZG_member.Model.informationShare model)
        {
            return dal.Add(model);
        }
       
        /// <summary>
        /// 获得数据列表
        /// </summary>
        /// 
        public DataSet getAppointList(string strWhere)
        {
            return dal.getAppointList(strWhere);
        }
        /// <summary>
       /// 更新一条数据
       /// </summary>
       /// 
        public int Update(int id, ZG_member.Model.informationShare model)
        {
            return dal.Update(id,model);
        }
        /// <summary>
        /// 删除一条数据
        /// </summary>
        /// 
        public int del(int id)
        {
            return dal.del(id);
        }
    }
}
